text-view: make measure() use the layout height
authorPeter Bloomfield <PeterBloomfield@bellsouth.net>
Wed, 21 Feb 2018 13:22:42 +0000 (08:22 -0500)
committerPeter Bloomfield <PeterBloomfield@bellsouth.net>
Wed, 21 Feb 2018 13:22:42 +0000 (08:22 -0500)
commit1828c6b1cd3b5a3394e2189a1a06fa19e30eab12
tree01f3f8a766c789b66ba35c96b2ba0228e163463e
parent88d419456d9897434365d9cab723cc7420791bc8
text-view: make measure() use the layout height

GtkTextView::measure should include the height of the text-layout in its
minimum and natural heights. This fixes scrolling when a text-view has a
scrolled-window ancestor that is not its immediate parent.
gtk/gtktextview.c